package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 维保项目合同对象 mt_contact
 * 
 * @author ruoyi
 * @date 2020-07-04
 */
public class MtContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long mtContractId;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String mtContractName;

    /** 维保合同上传 */
    //@Excel(name = "维保合同上传")
    private String mtContractUpload;

    /** 维保费用金额 */
    @Excel(name = "维保费用金额")
    private BigDecimal mtPrice;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String mtPayMethod;

    /** 维保合同起始日期 */
    @Excel(name = "维保合同起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mtContractDate;

    /** 维保费发票是/否开具 */
    //@Excel(name = "维保费发票是/否开具")
    private Long mtInvoiceStatus;

    /** 维保费发票是/否送至甲方并签收 */
    //@Excel(name = "维保费发票是/否送至甲方并签收")
    private Long mtInvoiceSignfor;

    /** 维保费发票上传 */
    //@Excel(name = "维保费发票上传")
    private String mtInvoiceUpload;

    /** 伪外键 */
    //@Excel(name = "伪外键")
    private Long mtId;

    public void setMtContractId(Long mtContractId) 
    {
        this.mtContractId = mtContractId;
    }

    public Long getMtContractId() 
    {
        return mtContractId;
    }
    public void setMtContractName(String mtContractName) 
    {
        this.mtContractName = mtContractName;
    }

    public String getMtContractName() 
    {
        return mtContractName;
    }
    public void setMtContractUpload(String mtContractUpload) 
    {
        this.mtContractUpload = mtContractUpload;
    }

    public String getMtContractUpload() 
    {
        return mtContractUpload;
    }
    public void setMtPrice(BigDecimal mtPrice)
    {
        this.mtPrice = mtPrice;
    }

    public BigDecimal getMtPrice()
    {
        return mtPrice;
    }
    public void setMtPayMethod(String mtPayMethod) 
    {
        this.mtPayMethod = mtPayMethod;
    }

    public String getMtPayMethod() 
    {
        return mtPayMethod;
    }
    public void setMtContractDate(Date mtContractDate) 
    {
        this.mtContractDate = mtContractDate;
    }

    public Date getMtContractDate() 
    {
        return mtContractDate;
    }
    public void setMtInvoiceStatus(Long mtInvoiceStatus) 
    {
        this.mtInvoiceStatus = mtInvoiceStatus;
    }

    public Long getMtInvoiceStatus() 
    {
        return mtInvoiceStatus;
    }
    public void setMtInvoiceSignfor(Long mtInvoiceSignfor) 
    {
        this.mtInvoiceSignfor = mtInvoiceSignfor;
    }

    public Long getMtInvoiceSignfor() 
    {
        return mtInvoiceSignfor;
    }
    public void setMtInvoiceUpload(String mtInvoiceUpload) 
    {
        this.mtInvoiceUpload = mtInvoiceUpload;
    }

    public String getMtInvoiceUpload() 
    {
        return mtInvoiceUpload;
    }
    public void setMtId(Long mtId) 
    {
        this.mtId = mtId;
    }

    public Long getMtId() 
    {
        return mtId;
    }
    //以下只为导出
    public String getMTContractName()
    {
        return mtContractName;
    }
    public BigDecimal getMTPrice()
    {
        return mtPrice;
    }
    public String getMTPayMethod(){ return mtPayMethod; }
    public Date getMTContractDate()
    {
        return mtContractDate;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mtContractId", getMtContractId())
            .append("mtContractName", getMtContractName())
            .append("mtContractUpload", getMtContractUpload())
            .append("mtPrice", getMtPrice())
            .append("mtPayMethod", getMtPayMethod())
            .append("mtContractDate", getMtContractDate())
            .append("mtInvoiceStatus", getMtInvoiceStatus())
            .append("mtInvoiceSignfor", getMtInvoiceSignfor())
            .append("mtInvoiceUpload", getMtInvoiceUpload())
            .append("mtId", getMtId())
            .toString();
    }
}
